package com.zzx.bms.service;

import com.zzx.bms.domain.Department;
import com.zzx.bms.domain.DepartmentType;

import java.util.List;

/**
 * Created by SamZhao on 2016/12/27.
 */
public interface IDepartmentService {
    List<Department> findAllDepartmentList();

    List<DepartmentType> findAllDepartmentTypeList();

    int saveDepartment(Department department);

    int deleteDepartmentById(String id);

    int checkDepartment(Department department);

    Department findDepartmentById(String id);

    int saveDepartmentType(DepartmentType departmentType);

    int deleteDepartmentTypeById(String id);

    int checkDepartmentType(DepartmentType departmentType);

    DepartmentType findDepartmentTypeById(String id);
}
